<!--
  Generated template for the MeseaminspectionworkdetailitemsPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>发电机</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <div class="items">
    <div class="item">
      检查内容:轴承能否正常运转
    </div>
    <div class="item">
      检查方式:测试
    </div>
    <div class="item">
      判断标准:机器轴承能正常运转
    </div>
    <ion-list>

      <ion-item>
        <ion-label>报修单号</ion-label>
        <ion-input type="text"></ion-input>
      </ion-item>

      <ion-item>
        <ion-label>处理方式</ion-label>
        <ion-select [(ngModel)]="gender">
          <ion-option value="f">Female</ion-option>
          <ion-option value="m">Male</ion-option>
        </ion-select>
      </ion-item>
      <ion-item>
        <ion-label>处理状态</ion-label>
        <ion-select [(ngModel)]="gender">
          <ion-option value="f">Female</ion-option>
          <ion-option value="m">Male</ion-option>
        </ion-select>
      </ion-item>
      <ion-item>
        <ion-label position="floating">描述</ion-label>
        <ion-textarea></ion-textarea>
      </ion-item>
      <ion-item>
        <ion-label position="floating">备注</ion-label>
        <ion-textarea></ion-textarea>
      </ion-item>

    </ion-list>
    <div text-center>
      <button ion-button Outline color="light" (click)="openCamera('CAMERA')">
        <ion-icon name="camera"></ion-icon>
      </button>
      <button ion-button Outline color="light" (click)="openCamera('PHOTOLIBRARY')">
        <ion-icon name="image"></ion-icon>
      </button>
      <button ion-button Outline color="light" (click)="openVideo()">
        <ion-icon name="videocam"></ion-icon>
      </button>
      <button ion-button Outline color="light" (click)="openCamera('PHOTOLIBRARY')">
        <ion-icon name="film"></ion-icon>
      </button>
    </div>
    <div class="img-wrap">
      <div class="img-box" *ngFor="let x of imgPath;index as i">
        <img [src]="x" (click)="imgClick(x)">
        <ion-icon name="close-circle" (click)="delImg(i)"></ion-icon>
      </div>
    </div>
    <div class="save">
      <button ion-button>保存</button>
    </div>
  </div>

</ion-content>